package com.ruoyi.project.system.base_family_info.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 户信息对象 base_family_info
 * 
 * @author ruoyi
 * @date 2023-02-17
 */
public class BaseFamilyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 户编号 */
    private String fid;

    /** 行政村 */
    @Excel(name = "行政村")
    private Integer admVillage;

    /** 自然村 */
    @Excel(name = "自然村")
    private Integer natVillage;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String name;

    /** 户联系电话 */
    @Excel(name = "户联系电话")
    private String phone;

    /** 人口数 */
    @Excel(name = "人口数")
    private Integer num;

    /** 实际耕种 */
    @Excel(name = "实际耕种")
    private BigDecimal area;

    /** 二轮（确权）面积 */
    @Excel(name = "二轮（确权）面积")
    private BigDecimal twoArea;

    /** 其他面积 */
    @Excel(name = "其他面积")
    private BigDecimal otherArea;

    /** 户类别 */
    @Excel(name = "户类别")
    private Integer familyType;

    /** 户状态(0-有人 1-绝户) */
    @Excel(name = "户状态(0-有人 1-绝户)")
    private Integer state;

    public BaseFamilyInfo() {
    }

    public BaseFamilyInfo(String fid, Integer admVillage, Integer natVillage, String name, String phone, Integer num, BigDecimal area, BigDecimal twoArea, BigDecimal otherArea, Integer familyType, Integer state) {
        this.fid = fid;
        this.admVillage = admVillage;
        this.natVillage = natVillage;
        this.name = name;
        this.phone = phone;
        this.num = num;
        this.area = area;
        this.twoArea=twoArea;
        this.otherArea=otherArea;
        this.familyType = familyType;
        this.state = state;
    }

    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setAdmVillage(Integer admVillage)
    {
        this.admVillage = admVillage;
    }

    public Integer getAdmVillage()
    {
        return admVillage;
    }
    public void setNatVillage(Integer natVillage)
    {
        this.natVillage = natVillage;
    }

    public Integer getNatVillage()
    {
        return natVillage;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setNum(Integer num)
    {
        this.num = num;
    }

    public Integer getNum()
    {
        return num;
    }
    public void setArea(BigDecimal area)
    {
        this.area = area;
    }

    public BigDecimal getArea()
    {
        return area;
    }
    public void setFamilyType(Integer familyType)
    {
        this.familyType = familyType;
    }

    public Integer getFamilyType()
    {
        return familyType;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public BigDecimal getTwoArea() { return twoArea; }

    public void setTwoArea(BigDecimal twoArea) { this.twoArea = twoArea; }
    public BigDecimal getOtherArea() { return otherArea; }

    public void setOtherArea(BigDecimal otherArea) { this.otherArea = otherArea; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("admVillage", getAdmVillage())
            .append("natVillage", getNatVillage())
            .append("name", getName())
            .append("phone", getPhone())
            .append("num", getNum())
            .append("area", getArea())
            .append("twoArea", getTwoArea())
            .append("otherArea", getOtherArea())
            .append("familyType", getFamilyType())
            .append("state", getState())
            .toString();
    }

}
